package com.example.sys.express.po;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.example.core.po.BaseAuthPo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

@Setter
@Getter
@ApiModel(value = "快递信息")
@TableName(value = "sys_express")
public class SysExpress extends BaseAuthPo<SysExpress> {

    @ApiModelProperty(value = "项目名称")
    @TableField(value = "project_name")
    private String projectName;

    @ApiModelProperty(value = "快递类型")
    @TableField(value = "type")
    private String type;

    @ApiModelProperty(value = "发送人名称")
    @TableField(value = "sender_name")
    private String senderName;

    @ApiModelProperty(value = "接收人名称")
    @TableField(value = "receiver_name")
    private String receiverName;

    @ApiModelProperty(value = "目标地id")
    @TableField(value = "address_id")
    private String addressId;

    @ApiModelProperty(value = "目标地名称")
    @TableField(value = "address_name")
    private String addressName;

    @ApiModelProperty(value = "详细地址")
    @TableField(value = "detail")
    private String detail;

    @ApiModelProperty(value = "快递电话")
    @TableField(value = "phone")
    private String phone;

    @ApiModelProperty(value = "快递金额")
    @TableField(value = "fee")
    private int fee;

    @ApiModelProperty(value = "快递状态")
    @TableField(value = "status")
    private String status;
}
